package com.semp.gu.core.local;

import java.io.File;
import com.semp.gu.domain.local.LocalAlbum;

public class LocalAlbumConverter implements ILocalAlbumConverter {

	public LocalAlbum folderToLocalAlbum(File file) {
		if (file == null) {
			return null;
		}
		LocalAlbum localAlbum = new LocalAlbum();
		localAlbum.setName(file.getName());
		return localAlbum;
	}

}
